﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Forest.Cat.Domain.Entities;

namespace Forest.Cat.Domain.Services.HomePages
{
    public interface IHomePageService
    {
        /// <summary>
        /// 获取热门搜索词汇
        /// </summary>
        /// <returns></returns>
        IList<HotWord> GetHotWord(int count);

        /// <summary>
        /// 返回广告列表
        /// </summary>
        /// <param name="ispublished">发布状态</param>
        /// <param name="admode">广告形式</param>
        /// <param name="areacode">广告主题</param>
        /// <param name="areacode">区域代码</param>
        /// <param name="adcount">广告条数</param>
        /// <returns></returns>
        IList<Material> GetPublishedAdv(bool ispublished, int admode,int adtype, int areacode, int adcount);
 
    }
}
